import dialog from './InputDialog'
export default {
  extends: dialog,
  data () {
    return {
      title: '修改出票规则'
    }
  },
  created () {
    this.loadDetail()
  },
  methods: {
    submit (done) {
      this.$service.airIssueRule.updateAirIssueRule(this.form).then(() => {
        this.visible = false
        this.$emit('ok')
      }).finally(() => {
        done()
      })
    }
  }
}
